Contribution org.nuxeo.dam.layouts--filters
In component org.nuxeo.dam.layouts
org.nuxeo.dam.layouts
inside nuxeo-dam-jsf-5.8.jar
This contribution is part of XML component Extension Point
Extension point filters of component ActionService.Contributed Items
XML Source
<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
<filter id="noCurrentDocument">
<rule grant="true">
<condition>currentDocument == null</condition>
</rule>
</filter>
<filter id="hasAssetFacet">
<rule grant="true">
<facet>Asset</facet>
</rule>
</filter>
<filter id="hasWorkflowProcess">
<rule grant="true">
<condition>#{routingActions.filteredRouteModels.size() > 0}</condition>
</rule>
</filter>
<filter id="hasTasks">
<rule grant="true">
<condition>#{currentDashBoardItemsExceptPublishingTasks.size() > 0}</condition>
</rule>
</filter>
<filter id="hasComments">
<rule grant="true">
<condition>#{documentThreadedComments.size() > 0}</condition>
</rule>
</filter>
<filter id="canCreateNewAsset">
<rule grant="true">
<condition>#{damActions.canCreateNewAsset}</condition>
</rule>
</filter>
<!-- TODO move those filters to audio and video modules -->
<filter id="hasVideoFacet">
<rule grant="true">
<facet>Video</facet>
</rule>
</filter>
<filter id="hasNotVideoFacet">
<rule grant="false">
<facet>Video</facet>
</rule>
</filter>
<filter id="hasNotPictureFacet">
<rule grant="false">
<facet>Picture</facet>
</rule>
</filter>
<filter id="hasAudioFacet">
<rule grant="true">
<facet>Audio</facet>
</rule>
</filter>
<filter id="hasNotAudioFacet">
<rule grant="false">
<facet>Audio</facet>
</rule>
</filter>
</extension>